//
//  Common.swift
//  weibo
//
//  Created by 罗心 on 16/6/25.
//  Copyright © 2016年 罗心. All rights reserved.
//

import UIKit


let SwitchRootVCNoti = "SwitchRootVCNoti"
// 微博相关信息参数
let APPKEY = "1239567839"
let APPSECRET = ""
let REDIRECT_URI = "http://www.baidu.com"
//屏幕宽高
let ScreenW = UIScreen.mainScreen().bounds.width
let ScreenH = UIScreen.mainScreen().bounds.height

//主题颜色
let ThemeColor = UIColor.orangeColor()

//RGB
func RGB (red:CGFloat,green:CGFloat,blue:CGFloat)->UIColor{
    return UIColor(red: red / 255, green: green / 255, blue: blue / 255, alpha:1)
}